package com.guodu.dao;

import java.util.List;

import com.guodu.entity.PurchasingDistribution;
import com.guodu.entity.PurchasingdisStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.PurchasingDistributionQueryVo;
import com.guodu.vo.PurchasingDistributionVo;

public interface PurchasingDistributionDao {

	PurchasingDistributionVo findAllMoney(PurchasingDistributionQueryVo pbpq, Units units,UserInfo userInfo);
	
	void save(PurchasingDistribution purchasingDistribution);

	long findSizeByVo(PurchasingDistributionQueryVo pdq, Units units,UserInfo userInfo);

	public void examinAll(PurchasingDistributionQueryVo pdq, Units units,UserInfo userInfo);
	
	List<PurchasingDistribution> findByVo(PurchasingDistributionQueryVo pdq,Units units,UserInfo userInfo, int curPage, int pageSize);

	PurchasingDistribution findById(String purchaseId);

	void update(PurchasingDistribution purchasingDistribution);

	List<PurchasingdisStatus> findStatus(String purchaseId);

	void changeStatus(List<PurchasingdisStatus> entities);

	void examine(String ids, Long status);

	void delByIds(String[] delIds);

	List<PurchasingDistribution> findAllByVo(PurchasingDistributionQueryVo pdq,
			Units attribute,UserInfo userInfo);

}
